﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PMQLCHH.DAO
{
    public class HoaDonDTO
    {
        //Kha Nguyen - Hoa Don DTO - 6/2/2013 - Begin
        //Fields
        private string m_strMaHoaDon;
        private string m_strMaKhachHang;
        private string m_strTenNguoiNhan;
        private string m_strSoDienThoaiNguoiNhan;
        private string m_strDiaChiGiao;
        private string m_dtNgayGiao;
        private int m_iVat;
        private long m_fPhiVanChuyen;
        private long m_fTongTien;
        private long m_fTraTruoc;
        private long m_fConNo;
        private string m_strGhiChu;
        private int m_iTrangThai;
        //private int m_iGiaoHang;
        private string m_dtNgayLap;

        
        //properties
        public string StrMaHoaDon
        {
            get { return m_strMaHoaDon; }
            set { m_strMaHoaDon = value; }
        }

        public string StrMaKhachHang
        {
            get { return m_strMaKhachHang; }
            set { m_strMaKhachHang = value; }
        }

        public string StrTenNguoiNhan
        {
            get { return m_strTenNguoiNhan; }
            set { m_strTenNguoiNhan = value; }
        }

        public string StrSoDienThoaiNguoiNhan
        {
            get { return m_strSoDienThoaiNguoiNhan; }
            set { m_strSoDienThoaiNguoiNhan = value; }
        }

        public string StrDiaChiGiao
        {
            get { return m_strDiaChiGiao; }
            set { m_strDiaChiGiao = value; }
        }

        public string DtNgayGiao
        {
            get { return m_dtNgayGiao; }
            set { m_dtNgayGiao = value; }
        }

        public int IVat
        {
            get { return m_iVat; }
            set { m_iVat = value; }
        }

        public long FPhiVanChuyen
        {
            get { return m_fPhiVanChuyen; }
            set { m_fPhiVanChuyen = value; }
        }

        public long FTongTien
        {
            get { return m_fTongTien; }
            set { m_fTongTien = value; }
        }

        public long FTraTruoc
        {
            get { return m_fTraTruoc; }
            set { m_fTraTruoc = value; }
        }

        public long FConNo
        {
            get { return m_fConNo; }
            set { m_fConNo = value; }
        }

        public string StrGhiChu
        {
            get { return m_strGhiChu; }
            set { m_strGhiChu = value; }
        }

        public int ITrangThai
        {
            get { return m_iTrangThai; }
            set { m_iTrangThai = value; }
        }

        //public int IGiaoHang
        //{
        //    get { return m_iGiaoHang; }
        //    set { m_iGiaoHang = value; }
        //}

        public string DtNgayLap
        {
            get { return m_dtNgayLap; }
            set { m_dtNgayLap = value; }
        }
        //methods

        public HoaDonDTO()
        {
            this.StrMaHoaDon = "";
            this.StrMaKhachHang = "";
            this.StrTenNguoiNhan = "";
            this.StrSoDienThoaiNguoiNhan = "";
            this.StrDiaChiGiao = "";
            this.DtNgayGiao = "";
            this.IVat = 0;
            this.FPhiVanChuyen = 0;
            this.FTongTien = 0;
            this.FTraTruoc = 0;
            this.FConNo = 0;
            this.StrGhiChu = "";
            this.ITrangThai = 0;
            //this.IGiaoHang = 0;
            this.DtNgayLap = "";
        }
        //Kha Nguyen - Hoa Don DTO - 6/2/2013 - end 
    }

}
